#include "widget.h"
#include "ui_widget.h"
#include<QString>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
}

Widget::~Widget()
{
    delete ui;
}


void Widget::on_textEdit_textChanged()
{
    QString a=ui->textEdit->toMarkdown();
    ui->label->setText(a);
}
